<div ng-controller="z-restVacation-c" z-loading is-loading="viewModel.isLoading">
	<div viewstack class="carousel slide" data-ride="carousel">
		<div class="carousel-inner" role="listbox">
			<div class="item active">
				<div class="row">
                    <div class="col-lg-12 heading">
                        <ul id="crumb" class="breadcrumb">
	                       <li>
		                        <i class="im-home"></i>
		                        <a href="index.html">首页</a>
	                        </li>
	                       <li ng-repeat="menu in viewModel.menuList">
	                        	<i class="{{menu.icons}}" ng-if="$index+1!=viewModel.menuList.length"></i>
	                        	<i class="en-arrow-right7" ng-if="$index+1==viewModel.menuList.length"></i>
	                        	{{menu.label}}
	                        </li>
                        </ul>
                    </div>
                </div>
				<div class="container-fluid">
					<div class="row">
						<!-- <table class="table table-striped  table-bordered table-hover"> -->
						<table class="table table-striped table-bordered" cellspacing="0" width="100%">
							<thead>
								<tr>
									<th>假期名称</th>
									<th>假期总（天数/时长）</th>
									<th>假期使用（天数/时长）</th>
									<th>假期剩余（天数/时长）</th>
								</tr>
							</thead>
							<tbody>
								<tr ng-repeat="restVacation in viewModel.dataList">
									<td>{{restVacation.requstTypeName}}</td>
									<td ng-hide="restVacation.furloughType!=10">每天{{restVacation.totalVacation}}小时</td>
									<td ng-hide="restVacation.furloughType!=10">{{restVacation.hbornStartDate | date:'yyyy/MM/dd'}}</td>
									<td ng-hide="restVacation.furloughType!=10">{{restVacation.endDate | date:'yyyy/MM/dd'}}</td>
									<td ng-hide="restVacation.furloughType==10">
										<span ng-hide="restVacation.furloughType==0||restVacation.furloughType==1||restVacation.furloughType==5||restVacation.furloughType==6||restVacation.furloughType==7||restVacation.furloughType==8||restVacation.furloughType==9">
											{{restVacation.totalVacation}}天
										</span>
										<span ng-hide="restVacation.furloughType==3||restVacation.furloughType==4||restVacation.furloughType==11||restVacation.furloughType==13">
											{{viewModel.toHourMinute(restVacation.totalVacation)}}
										</span>
									</td>
									<td ng-hide="restVacation.furloughType==10">
										<span ng-hide="restVacation.furloughType==0||restVacation.furloughType==1||restVacation.furloughType==5||restVacation.furloughType==6||restVacation.furloughType==7||restVacation.furloughType==8||restVacation.furloughType==9">{{(restVacation.usedVacation/60).toFixed(0)}}小时{{(restVacation.usedVacation-(restVacation.usedVacation/60).toFixed(0)*60)}}分钟</span>
										<span ng-hide="restVacation.furloughType==3||restVacation.furloughType==4||restVacation.furloughType==11||restVacation.furloughType==13">
											{{viewModel.toHourMinute(restVacation.usedVacation)}}
										</span>
									</td>
									<td ng-hide="restVacation.furloughType==10">
										<span ng-hide="restVacation.furloughType==0||restVacation.furloughType==1||restVacation.furloughType==5||restVacation.furloughType==6||restVacation.furloughType==7||restVacation.furloughType==8||restVacation.furloughType==9">{{restVacation.restVacation}} 天</span>
										<span ng-hide="restVacation.furloughType==3||restVacation.furloughType==4||restVacation.furloughType==11||restVacation.furloughType==13">
											{{viewModel.toHourMinute(restVacation.restVacation)}}
										</span>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>